using OpenWaves.Navigation.Controls;

namespace OpenWaves.Navigation.Showcase
{
    public static class NavigationNodeContainerExtensions
    {
        public static string GetNodeStateClass(this INavigationNodeContainer container)
        {
            return container.NodeState == NavigationNodeState.Normal ? "" : container.NodeState.ToString().ToLowerInvariant();
        }
    }
}